package org.urbansoft.icl;

import java.util.ArrayList;

import org.apache.log4j.Logger;

import org.urbansoft.icl.record.BundleControlRecord;
import org.urbansoft.icl.record.BundleHeaderRecord;

/**
 * The Class ForwardPresentmentBundle.
 */
public class ForwardPresentmentBundle {
	private BundleHeaderRecord bundleHeader;
	private ArrayList itemList;
	private BundleControlRecord bundleControl;
	// TODO implement additional records
	// private BoxSummary boxSummar;

	private static Logger log = Logger
			.getLogger(ForwardPresentmentBundle.class);

	/**
	 * Instantiates a new forward presentment bundle.
	 */
	public ForwardPresentmentBundle() {
		itemList = new ArrayList();
	}

	/**
	 * Instantiates a new forward presentment bundle.
	 * 
	 * @param bundleHeader
	 *            the bundle header
	 * @param itemList
	 *            the item list
	 * @param bundleControl
	 *            the bundle control
	 */
	public ForwardPresentmentBundle(BundleHeaderRecord bundleHeader,
			ArrayList itemList, BundleControlRecord bundleControl) {
		super();
		this.bundleHeader = bundleHeader;
		this.itemList = itemList;
		this.bundleControl = bundleControl;
	}

	/**
	 * Gets the bundle header.
	 * 
	 * @return the bundle header
	 */
	public BundleHeaderRecord getBundleHeader() {
		return bundleHeader;
	}

	/**
	 * Sets the bundle header.
	 * 
	 * @param bundleHeader
	 *            the new bundle header
	 */
	public void setBundleHeader(BundleHeaderRecord bundleHeader) {
		this.bundleHeader = bundleHeader;
	}

	/**
	 * Gets the item list.
	 * 
	 * @return the item list
	 */
	public ArrayList getItemList() {
		return itemList;
	}

	/**
	 * Sets the item list.
	 * 
	 * @param itemList
	 *            the new item list
	 */
	public void setItemList(ArrayList itemList) {
		this.itemList = itemList;
	}

	/**
	 * Gets the bundle control.
	 * 
	 * @return the bundle control
	 */
	public BundleControlRecord getBundleControl() {
		return bundleControl;
	}

	/**
	 * Sets the bundle control.
	 * 
	 * @param bundleControl
	 *            the new bundle control
	 */
	public void setBundleControl(BundleControlRecord bundleControl) {
		this.bundleControl = bundleControl;
	}

}
